<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html">
	<style type="text/css">
<!--
.news-title {
	font-size: 14px;
	font-weight: bolder;
	background-color: #0A113F;
	height: 35px;
}

.news-title ul {
	margin: 0;
	padding: 8px 0 0 10px;
}

.news-title ul li {
	display: block;
}

.news-title ul li a {
	display: block;
	color: #FFFFFF;
	text-decoration: none;
}

.news-content {
	font-size: 14px;
}

.news-content ul {
	margin: 5px 0 0 -15px;
	*margin-left:25px;
}

.news-content ul li {
	margin: 10px 0 0 5px;
}
-->
</style>
	<div
		style="min-height: 400px; background-color: white; margin-left: 10px;">
		<div class="news-title">
			<ul>
				<li><a href="#">新闻中心</a></li>
			</ul>
		</div>
		<div class="news-content">
			<ui:repeat value="#{newsAction.newsList}" var="news">
				<ul>
					<li><h:link value="#{news.name}" outcome="news/view">
							<f:param name="id" value="#{news.id}" />
						</h:link>&nbsp; <h:outputText value="#{news.createTime}">
							<f:convertDateTime pattern="yyyy-MM-dd" />
						</h:outputText></li>
				</ul>
			</ui:repeat>
		</div>
	</div>
</ui:composition>